package com.chat.entry.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 群聊信息表
 * </p>
 *
 * @author author
 * @since 2025-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("group_chat_information")
@ApiModel(value = "GroupChatInformation对象", description = "群聊信息表")
public class GroupChatInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "群号")
    private String groupUid;

    @ApiModelProperty(value = "头像")
    private String avator;

    @ApiModelProperty(value = "群里名称")
    private String name;

    @ApiModelProperty(value = "群主id")
    private Integer ownerId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改用户id")
    private Integer updateUserId;


}
